<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/plugins/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="/static/css/account/accountList.css">
<title>流水列表</title>
<style type="text/css">
h1{
    text-align: center;
    margin: 20px;
    font-weight: bold;
}
.layui-context-consider{
    border: 1px #b4b4b4 solid;
    margin: 15 auto;
    border-radius: 5px;
    width: 95%;
}
</style>
</head>
<body class="layui-layout-body">
	<input type="hidden" id="sessionUser" th:value="${session.userSession.realName}">
	<div class="layui-layout layui-layout-admin">
		<!-- header nav部分 -->
	<div th:insert="~{/common/common :: copy}"></div>
	<div class="layui-body">
		<h1>流水列表</h1>	
		<form class="layui-form" action="" id="accountForm">
			<div class="layui-fluid layui-from-consider">
				<h2 class="title">基本信息</h2>
					<div class="layui-row">
						<div class="layui-col-md12">
							<div class="layui-row">
								<div class="layui-col-md3">
									<div class="layui-form-item">
										<label class="layui-form-label">支出时间</label>
										<div class="layui-input-inline">
											<input type="text" name="payTime" id="payTime"  placeholder="支出日期" autocomplete="off" class="layui-input">   
										</div>
									</div>
								</div>
								<div class="layui-col-md3">
									<div class="layui-form-item">
										<label class="layui-form-label">日常编码</label>
										<div class="layui-input-inline">
											<input type="text" name="dayCode" id="dayCode" class="layui-input" >   
										</div>
									</div>
								</div>
							</div>
							<div class="layui-row">
								<div style="text-align: end; margin: 0 100px 10px 0;">
									<button type="button" class="layui-btn" id="search"><i class="layui-icon layui-icon-find-fill" style="font-size: 15px;"></i>查询</button>
									<button type="button" class="layui-btn" id="add_tm" onclick="addBaseInfo('tm')"><i class="layui-icon layui-icon-add-circle" style="font-size: 15px;"></i>添加天猫流水信息</button>
									<button type="button" class="layui-btn" id="add" onclick="addBaseInfo('pdd')"><i class="layui-icon layui-icon-add-circle" style="font-size: 15px;"></i>添加拼多多流水信息</button>
								</div>
							</div>
						</div>
					</div>
				</div>
			</form>
			<!-- 表格 -->
			<div class="layui-row layui-fluid layui-context-consider">
				<table class="layui-hide" id="account_table" lay-filter="account_table"></table>
				<script type="text/html" id="accountBar">
					<a class="layui-btn layui-btn-xs" lay-event="detail">
						<i class="layui-icon layui-icon-edit"></i>查看
					</a>
				</script>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="/static/js/jquery-3.5.1.min.js"></script>
	<script type="text/javascript" src="/static/plugins/layui/layui.js"></script>
	<script type="text/javascript" src="/static/plugins/layui/layui.all.js"></script>
	<script type="text/javascript" src="/static/js/common/common.js"></script>
	<script type="text/javascript" src="/static/js/account/list.js"></script>
</body>
</html>